<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*标签选择器*/
        /*span{*/
            /*color:green*/
        /*}*/
        /*div{*/
            /*color: #c4db69*/
        /*}*/
        /*a{*/
            /*color: red;*/
        /*}*/

        /*#div1{*/
            /*color: cornflowerblue;*/
        /*}*/
        /*.sp{*/
            /*color: orangered;*/
        /*}*/

        *{
            color: yellow;
        }
    </style>
</head>
<body>
<div id="div1">
    wahaha1
    <span class="sp">我是一个div1-span</span>
</div>
<span>只有span</span>
<div>
    wahaha2
    <span  class="sp">我是一个div2-span</span>
    <a href="http:www.taobao.com">我是一个div-span</a>
</div>
</body>
</html>